home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / maple_st.swf / scripts / DefineSprite_1136 / frame_1 / DoAction_2.as next >
Encoding:
Text File  |  2010-04-12  |  1.0 KB  |  36 lines

  1. function samethingcheck()
  2. {
  3.    if(_root.hotkey.ctrlkey.showgo == this.showgo && this._name != "ctrlkey")
  4.    {
  5.       _root.hotkey.ctrlkey.reset();
  6.    }
  7.    if(_root.hotkey.shiftkey.showgo == this.showgo && this._name != "shiftkey")
  8.    {
  9.       _root.hotkey.shiftkey.reset();
  10.    }
  11.    if(_root.hotkey.deletekey.showgo == this.showgo && this._name != "deletekey")
  12.    {
  13.       _root.hotkey.deleteey.reset();
  14.    }
  15.    if(_root.hotkey.end.showgo == this.showgo && this._name != "end")
  16.    {
  17.       _root.hotkey.end.reset();
  18.    }
  19.    if(_root.hotkey.home.showgo == this.showgo && this._name != "home")
  20.    {
  21.       _root.hotkey.home.reset();
  22.    }
  23.    if(_root.hotkey.pageup.showgo == this.showgo && this._name != "pageup")
  24.    {
  25.       _root.hotkey.pageup.reset();
  26.    }
  27.    if(_root.hotkey.pagedown.showgo == this.showgo && this._name != "pagedown")
  28.    {
  29.       _root.hotkey.pagedown.reset();
  30.    }
  31.    if(_root.hotkey.ins.showgo == this.showgo && this._name != "ins")
  32.    {
  33.       _root.hotkey.ins.reset();
  34.    }
  35. }
  36.